import diamondRingEntity.Admin;
import diamondRingService.impl.AdminServiceImpl;

import java.util.ArrayList;
import java.util.List;

public class main {
    public static void main(String[] args) {
        AdminServiceImpl adminService = new AdminServiceImpl();
        List<Admin> list = new ArrayList<Admin>();
        list=adminService.SelectNameAdmin("admin");
        for (Admin et:list) {
            et.getID();
        }
    }
}
